//
//  TVController.h
//  GKBHouse
//
//  Created by  on 12-7-1.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NewEquipment.h"
@interface TVController : UIViewController
{
    IBOutlet UIButton *OnOff;
}
@property (retain)NewEquipment *equipment;
@property (retain)NSString *ctrOrder;

- (id)initWithEquipment:(NewEquipment *)equ;
- (void)initTopBar;
- (void)closeView;

#pragma mark - order
- (IBAction)C1;
- (IBAction)C2;
- (IBAction)C3;
- (IBAction)C4;
- (IBAction)C5;
- (IBAction)C6;
- (IBAction)C7;
- (IBAction)C8;
- (IBAction)C9;
- (IBAction)C0;
- (IBAction)channel;
- (IBAction)TVAV;
- (IBAction)LEFT;
- (IBAction)DOWN;
- (IBAction)RIGHT;
- (IBAction)UP;
- (IBAction)OK;
- (IBAction)MENU;
- (IBAction)BACK;
- (IBAction)MUTE;

#pragma mark - 电器设备开关状态
- (void)ctlDevice;
- (void)ctlDeviceEnd:(NSDictionary *)dic;
#pragma mark - 控制TV
- (void)ctrTV:(NSString *)ORDER;
- (void)ctrTVEnd:(NSDictionary *)dic;
@end
